{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Iterating over multiple refutation tests\n",
    "The objective of this notebook is to compare the ability of refuters to detect the problems in a given set of estimators.\n",
    "Note:\n",
    "This notebook makes use of the optional dependencies:\n",
    "- pygraphviz\n",
    "- causalml"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Import Dependencies"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from dowhy.datasets import linear_dataset\n",
    "from dowhy import CausalModel\n",
    "import causalml"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Inspection Parameters\n",
    "These parameters give us the option of inspecting the intermediate steps to sanity check the steps performed"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "inspect_datasets = True\n",
    "inspect_models = True\n",
    "inspect_identified_estimands = True\n",
    "inspect_estimates = True\n",
    "inspect_refutations = True"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Estimator List\n",
    "We pass a list of strings, corresponding to the estimators of interest"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "estimator_list = [\"backdoor.propensity_score_matching\", \"backdoor.propensity_score_weighting\", \"backdoor.causalml.inference.meta.LRSRegressor\"]\n",
    "method_params= [ None, None, { \"init_params\":{} } ]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Refuter List\n",
    "A list of strings, corresponding to each refuter we wish to run"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "refuter_list = [\"bootstrap_refuter\", \"data_subset_refuter\"]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Create the Datasets"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Parameters for creating the Dataset\n",
    "TREATMENT_IS_BINARY = True\n",
    "BETA = 10\n",
    "NUM_SAMPLES = 1000\n",
    "NUM_CONFOUNDERS = 5\n",
    "NUM_INSTRUMENTS = 3\n",
    "NUM_EFFECT_MODIFIERS = 2\n",
    "\n",
    "# Creating a Linear Dataset with the given parameters\n",
    "linear_data = linear_dataset(\n",
    "            beta = BETA,\n",
    "            num_common_causes = NUM_CONFOUNDERS,\n",
    "            num_instruments = NUM_INSTRUMENTS,\n",
    "            num_effect_modifiers = NUM_EFFECT_MODIFIERS,\n",
    "            num_samples = NUM_SAMPLES,\n",
    "            treatment_is_binary = True\n",
    "        )\n",
    "# Other datasets come here \n",
    "\n",
    "\n",
    "# Append them together in an array\n",
    "datasets = [linear_data]\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Inspect Data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "####### Dataset 1###########################################################################################\n",
      "         X0        X1   Z0        Z1   Z2        W0        W1        W2  \\\n",
      "0  2.296454 -1.105707  0.0  0.872820  1.0 -1.017451 -1.121472  0.618193   \n",
      "1  1.186473 -1.012574  0.0  0.094944  0.0 -1.996002 -0.868432 -2.147540   \n",
      "2  0.697345 -0.421525  1.0  0.582726  1.0 -0.287837 -1.625909 -1.624035   \n",
      "3  0.728708 -0.863882  1.0  0.623053  1.0 -2.926781 -1.116355 -0.367452   \n",
      "4 -0.801555  0.554153  1.0  0.791654  1.0 -2.985773 -0.083998 -0.072799   \n",
      "\n",
      "         W3        W4     v0          y  \n",
      "0 -0.111623  0.609580   True  14.862008  \n",
      "1 -1.543804 -0.003589  False -12.178909  \n",
      "2 -1.750058  0.397615   True   2.765377  \n",
      "3 -0.333454  0.768779   True   5.936453  \n",
      "4  0.509324  2.133821   True  13.790278  \n",
      "#############################################################################################################\n"
     ]
    }
   ],
   "source": [
    "dataset_num = 1\n",
    "if inspect_datasets is True:\n",
    "    for data in datasets:\n",
    "        print(\"####### Dataset {}###########################################################################################\".format(dataset_num))\n",
    "        print(data['df'].head())\n",
    "        print(\"#############################################################################################################\")\n",
    "        dataset_num += 1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Create the CausalModels"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_model:Model to find the causal effect of treatment ['v0'] on outcome ['y']\n"
     ]
    }
   ],
   "source": [
    "models = []\n",
    "for data in datasets:\n",
    "    model = CausalModel(\n",
    "                data = data['df'],\n",
    "                treatment = data['treatment_name'],\n",
    "                outcome = data['outcome_name'],\n",
    "                graph = data['gml_graph']\n",
    "            )\n",
    "    models.append(model)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Inspect Models"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "####### Model 1#############################################################################################\n",
      "Common Causes: ['W3', 'W1', 'W2', 'Unobserved Confounders', 'W0', 'W4']\n",
      "Effect Modifiers: ['X1', 'X0']\n",
      "Instruments: ['Z2', 'Z0', 'Z1']\n",
      "Outcome: ['y']\n",
      "Treatment: ['v0']\n",
      "#############################################################################################################\n"
     ]
    }
   ],
   "source": [
    "model_num = 1\n",
    "if inspect_models is True:\n",
    "    for model in models:\n",
    "        print(\"####### Model {}#############################################################################################\".format(model_num))\n",
    "        print(\"Common Causes:\",model._common_causes)\n",
    "        print(\"Effect Modifiers:\",model._effect_modifiers)\n",
    "        print(\"Instruments:\",model._instruments)\n",
    "        print(\"Outcome:\",model._outcome)\n",
    "        print(\"Treatment:\",model._treatment)\n",
    "        print(\"#############################################################################################################\")\n",
    "        model_num += 1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Identify Effect"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_identifier:Common causes of treatment and outcome:['W3', 'W1', 'W2', 'Unobserved Confounders', 'W0', 'W4']\n",
      "WARNING:dowhy.causal_identifier:If this is observed data (not from a randomized experiment), there might always be missing confounders. Causal effect cannot be identified perfectly.\n",
      "INFO:dowhy.causal_identifier:Continuing by ignoring these unobserved confounders because proceed_when_unidentifiable flag is True.\n",
      "INFO:dowhy.causal_identifier:Instrumental variables for treatment and outcome:['Z2', 'Z0', 'Z1']\n"
     ]
    }
   ],
   "source": [
    "identified_estimands = []\n",
    "for model in models:\n",
    "    identified_estimand = model.identify_effect(proceed_when_unidentifiable=True)\n",
    "    identified_estimands.append(identified_estimand)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Identified Estimands"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "####### Identified Estimand 1#####################################################################################\n",
      "Estimand type: nonparametric-ate\n",
      "### Estimand : 1\n",
      "Estimand name: backdoor\n",
      "Estimand expression:\n",
      "  d                                 \n",
      "─────(Expectation(y|W3,W1,W2,W0,W4))\n",
      "d[v₀]                               \n",
      "Estimand assumption 1, Unconfoundedness: If U→{v0} and U→y then P(y|v0,W3,W1,W2,W0,W4,U) = P(y|v0,W3,W1,W2,W0,W4)\n",
      "### Estimand : 2\n",
      "Estimand name: iv\n",
      "Estimand expression:\n",
      "Expectation(Derivative(y, [Z2, Z0, Z1])*Derivative([v0], [Z2, Z0, Z1])**(-1))\n",
      "Estimand assumption 1, As-if-random: If U→→y then ¬(U →→{Z2,Z0,Z1})\n",
      "Estimand assumption 2, Exclusion: If we remove {Z2,Z0,Z1}→{v0}, then ¬({Z2,Z0,Z1}→y)\n",
      "\n",
      "###################################################################################################################\n"
     ]
    }
   ],
   "source": [
    "estimand_count = 1\n",
    "for estimand in identified_estimands:\n",
    "    print(\"####### Identified Estimand {}#####################################################################################\".format(estimand_count))\n",
    "    print(estimand)\n",
    "    print(\"###################################################################################################################\")\n",
    "    estimand_count += 1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Estimate Effect"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "/home/tanmay/create-refute-notebook/lib/python3.6/site-packages/sklearn/utils/validation.py:760: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "  y = column_or_1d(y, warn=True)\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "/home/tanmay/create-refute-notebook/lib/python3.6/site-packages/sklearn/utils/validation.py:760: DataConversionWarning: A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "  y = column_or_1d(y, warn=True)\n",
      "The sklearn.utils.testing module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.utils. Anything that cannot be imported from sklearn.utils is now part of the private API.\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n"
     ]
    }
   ],
   "source": [
    "estimate_list = []\n",
    "for i in range(len(identified_estimands)):\n",
    "    for j in range(len(estimator_list)):\n",
    "        estimate = model.estimate_effect(\n",
    "                        identified_estimands[i],\n",
    "                        method_name=estimator_list[j],\n",
    "                        method_params=method_params[j]\n",
    "                  )\n",
    "        estimate_list.append(estimate)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Estimate Values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "####### Estimand 1#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "<class 'dowhy.causal_estimators.propensity_score_matching_estimator.PropensityScoreMatchingEstimator'>\n",
      "\n",
      "*** Causal Estimate ***\n",
      "\n",
      "## Target estimand\n",
      "Estimand type: nonparametric-ate\n",
      "### Estimand : 1\n",
      "Estimand name: backdoor\n",
      "Estimand expression:\n",
      "  d                                 \n",
      "─────(Expectation(y|W3,W1,W2,W0,W4))\n",
      "d[v₀]                               \n",
      "Estimand assumption 1, Unconfoundedness: If U→{v0} and U→y then P(y|v0,W3,W1,W2,W0,W4,U) = P(y|v0,W3,W1,W2,W0,W4)\n",
      "### Estimand : 2\n",
      "Estimand name: iv\n",
      "Estimand expression:\n",
      "Expectation(Derivative(y, [Z2, Z0, Z1])*Derivative([v0], [Z2, Z0, Z1])**(-1))\n",
      "Estimand assumption 1, As-if-random: If U→→y then ¬(U →→{Z2,Z0,Z1})\n",
      "Estimand assumption 2, Exclusion: If we remove {Z2,Z0,Z1}→{v0}, then ¬({Z2,Z0,Z1}→y)\n",
      "\n",
      "## Realized estimand\n",
      "b: y~v0+W3+W1+W2+W0+W4\n",
      "## Estimate\n",
      "Value: 11.803018265480263\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Estimand 2#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "<class 'dowhy.causal_estimators.propensity_score_weighting_estimator.PropensityScoreWeightingEstimator'>\n",
      "\n",
      "*** Causal Estimate ***\n",
      "\n",
      "## Target estimand\n",
      "Estimand type: nonparametric-ate\n",
      "### Estimand : 1\n",
      "Estimand name: backdoor\n",
      "Estimand expression:\n",
      "  d                                 \n",
      "─────(Expectation(y|W3,W1,W2,W0,W4))\n",
      "d[v₀]                               \n",
      "Estimand assumption 1, Unconfoundedness: If U→{v0} and U→y then P(y|v0,W3,W1,W2,W0,W4,U) = P(y|v0,W3,W1,W2,W0,W4)\n",
      "### Estimand : 2\n",
      "Estimand name: iv\n",
      "Estimand expression:\n",
      "Expectation(Derivative(y, [Z2, Z0, Z1])*Derivative([v0], [Z2, Z0, Z1])**(-1))\n",
      "Estimand assumption 1, As-if-random: If U→→y then ¬(U →→{Z2,Z0,Z1})\n",
      "Estimand assumption 2, Exclusion: If we remove {Z2,Z0,Z1}→{v0}, then ¬({Z2,Z0,Z1}→y)\n",
      "\n",
      "## Realized estimand\n",
      "b: y~v0+W3+W1+W2+W0+W4\n",
      "## Estimate\n",
      "Value: 11.20381938129325\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Estimand 3#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "<class 'dowhy.causal_estimators.causalml.Causalml'>\n",
      "\n",
      "*** Causal Estimate ***\n",
      "\n",
      "## Target estimand\n",
      "Estimand type: nonparametric-ate\n",
      "### Estimand : 1\n",
      "Estimand name: backdoor\n",
      "Estimand expression:\n",
      "  d                                 \n",
      "─────(Expectation(y|W3,W1,W2,W0,W4))\n",
      "d[v₀]                               \n",
      "Estimand assumption 1, Unconfoundedness: If U→{v0} and U→y then P(y|v0,W3,W1,W2,W0,W4,U) = P(y|v0,W3,W1,W2,W0,W4)\n",
      "### Estimand : 2\n",
      "Estimand name: iv\n",
      "Estimand expression:\n",
      "Expectation(Derivative(y, [Z2, Z0, Z1])*Derivative([v0], [Z2, Z0, Z1])**(-1))\n",
      "Estimand assumption 1, As-if-random: If U→→y then ¬(U →→{Z2,Z0,Z1})\n",
      "Estimand assumption 2, Exclusion: If we remove {Z2,Z0,Z1}→{v0}, then ¬({Z2,Z0,Z1}→y)\n",
      "\n",
      "## Realized estimand\n",
      "b: y~v0+W3+W1+W2+W0+W4\n",
      "## Estimate\n",
      "Value: [11.82969029]\n",
      "\n",
      "########################################################################################################\n",
      "\n"
     ]
    }
   ],
   "source": [
    "estimand_count = 1\n",
    "if inspect_estimates is True:\n",
    "    for estimand in estimate_list:\n",
    "        print(\"####### Estimand {}#######################################################################################\".format(estimand_count))\n",
    "        print(\"*** Class Name ***\")\n",
    "        print()\n",
    "        print(estimand.params['estimator_class'])\n",
    "        print()\n",
    "        print(estimand)\n",
    "        print(\"########################################################################################################\")\n",
    "        print()\n",
    "        estimand_count += 1\n",
    "    "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Refute Estimate"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_refuters.bootstrap_refuter:All variables required: Running bootstrap adding noise to confounders, instrumental variables and effect modifiers.\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:INFO: The chosen variables are: W3,W1,W2,W0,W4,Z2,Z0,Z1,X1,X0\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Refutation over 100 simulated datasets of size 1000 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Refutation over 0.8 simulated datasets of size 800.0 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Matching Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:All variables required: Running bootstrap adding noise to confounders, instrumental variables and effect modifiers.\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:INFO: The chosen variables are: W3,W1,W2,W0,W4,Z2,Z0,Z1,X1,X0\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Refutation over 100 simulated datasets of size 1000 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Refutation over 0.8 simulated datasets of size 800.0 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_estimator:INFO: Using Propensity Score Weighting Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "A column-vector y was passed when a 1d array was expected. Please change the shape of y to (n_samples, ), for example using ravel().\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:All variables required: Running bootstrap adding noise to confounders, instrumental variables and effect modifiers.\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:INFO: The chosen variables are: W3,W1,W2,W0,W4,Z2,Z0,Z1,X1,X0\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Refutation over 100 simulated datasets of size 1000 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_refuters.bootstrap_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Refutation over 0.8 simulated datasets of size 800.0 each\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_estimator:INFO: Using CausalML Estimator\n",
      "INFO:dowhy.causal_estimator:b: y~v0+W3+W1+W2+W0+W4\n",
      "INFO:dowhy.causal_refuters.data_subset_refuter:Making use of Bootstrap as we have more than 100 examples.\n",
      "                 Note: The greater the number of examples, the more accurate are the confidence estimates\n"
     ]
    }
   ],
   "source": [
    "refutation_list = []\n",
    "for estimand in identified_estimands:\n",
    "    for estimate in estimate_list: \n",
    "        for refuter in refuter_list:\n",
    "            ref = model.refute_estimate(estimand, estimate,method_name=refuter)\n",
    "            refutation_list.append(ref)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Refutation Values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "####### Refutation 1#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "Estimated effect:11.803018265480263\n",
      "New effect:11.726840078548117\n",
      "p value:0.45999999999999996\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Refutation 2#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Use a subset of data\n",
      "\n",
      "Refute: Use a subset of data\n",
      "Estimated effect:11.803018265480263\n",
      "New effect:11.82215833537287\n",
      "p value:0.46\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Refutation 3#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "Estimated effect:11.20381938129325\n",
      "New effect:11.206283926881234\n",
      "p value:0.46\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Refutation 4#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Use a subset of data\n",
      "\n",
      "Refute: Use a subset of data\n",
      "Estimated effect:11.20381938129325\n",
      "New effect:11.210124590456866\n",
      "p value:0.45\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Refutation 5#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "\n",
      "Refute: Bootstrap Sample Dataset\n",
      "Estimated effect:[11.82969029]\n",
      "New effect:11.807504795997904\n",
      "p value:[0.48]\n",
      "\n",
      "########################################################################################################\n",
      "\n",
      "####### Refutation 6#######################################################################################\n",
      "*** Class Name ***\n",
      "\n",
      "Refute: Use a subset of data\n",
      "\n",
      "Refute: Use a subset of data\n",
      "Estimated effect:[11.82969029]\n",
      "New effect:11.820573703471123\n",
      "p value:[0.46]\n",
      "\n",
      "########################################################################################################\n",
      "\n"
     ]
    }
   ],
   "source": [
    "refuter_count = 1\n",
    "if inspect_refutations is True:\n",
    "    for refutation in refutation_list:\n",
    "        print(\"####### Refutation {}#######################################################################################\".format(refuter_count))\n",
    "        print(\"*** Class Name ***\")\n",
    "        print()\n",
    "        print(refutation.refutation_type)\n",
    "        print()\n",
    "        print(refutation)\n",
    "        print(\"########################################################################################################\")\n",
    "        print()\n",
    "        refuter_count += 1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": false,
   "sideBar": true,
   "skip_h1_title": true,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
